Installing Jenkins on Amazon EC2 | Step-By-Step Guide
Below are the steps to guide the launch of an EC2 instance and install Jenkins on AWS EC2:
1. Launching an Amazon EC2 instance
Launch a virtual server in the Amazon Web Services (AWS) Elastic Compute Cloud (EC2) service and configure it with Jenkins, enabling you to deploy and run applications on scalable compute capacity within the AWS cloud infrastructure while utilizing Jenkins for continuous integration and deployment workflows.
Step 1: Open the AWS console. Click on the EC2 Service.
Step 2: Click on the Launch Instance button
Step 3: Type the Instance name – Ubuntu. Select the AMI – Ubuntu
2. Creating a key pair
How To A Create A Key Pairs In AWS-EC2 ? |Complete Tutorial – Read.
In the following step 4 we are selecting the existing key pair.
Step 1: Select the Instance type – t2.micro.Create or choose the existing Key pair – linux1
3. Creating a security group
What is Security Group in AWS and How To Create it? – Read.
In the following step we are selecting the existing security group.
Step 1: Create the security group or choose the existing security group. Open the Port. Confirm that port 8080 is open for traffic in your security groups. Jenkins uses this port by default.
- 8080 – Jenkins
- 80 – HTTP
- 43 – HTTP
Step 2: Click on the Launch Instance Button
Install Jenkins on Amazon EC2: Step-by-Step GuidePrerequisites
Jenkins configuration in the EC2 instance on the Amazon Web Service Platform includes all steps in detail, which helps the user easily set up your Jenkins tools on the EC2 instance for continuous integration and continuous development. Nowadays, Jenkins has become a more popular tool as compared to others, and it is open source. It is free, and it is lightweight. Jenkins using the 8080 port. Jenkins code is available for everyone to contribute and add more features to this tool. It has a strong community and it has a number of plugins to do any type of work related to continuous integration and continuous development.
Prerequisites
- We need to set up an Amazon account.
- Amazon Linux instance.
Contact Us